package com.ruoyi.app.home.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 每日情话表 sys_love_message
 * 
 * @author ruoyi
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("love_message")
public class LoveMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 情话ID */
    @Excel(name = "情话序号")
    @TableId("message_id")
    private Long messageId;

    /** 情话内容 */
    @Excel(name = "情话内容")
    @TableField("message")
    private String message;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @TableField("create_time")
    private Date createTime;
}